Document in english
http://www.scribd.com/doc/137504378/CHR-WS-V1-1-2-GB

Three services are available
- shipping
: lets you generate a label contained in the web service response with the option of reserving anESD and sending the label by email
- shippingWithReservationAndESDWithRefClient
: lets you generate a label and retrieve it using a URL.In this case, the label is stored in the Chronopost IS. Like for the shipping service, it is possible to reserve an ESDand send the label by email
- getReservedSkybillWithType
: lets you retrieve a label that has already been generated withshippingWithReservationAndESDWithRefClientThe WSDL can be accessed at the following URLhttps://www.chronopost.fr/shipping-cxf/ShippingServiceWS?wsdlThe service is available at the following URLhttps://www.chronopost.fr/shipping-cxf/ShippingServiceWS

WEB SERVICE:
SHIPPING AND SHIPPING WITH RESERVATION AND ESD WITH REF CLIENT
The client invokes the web service using an HTTP request
Name:
shipping and shippingWithReservationAndESDWithRefClient
Namespace:http://cxf.shipping.soap.chronopost.fr 3.5.1. 
PORT
Port:ShippingServiceWSUrl:Production:
https://www.chronopost.fr/shipping-cxf/ShippingServiceWS
 
Development:
https://www.chronopost.fr/shipping-cxf/ShippingServiceWS
WSDL:Production:
https://www.chronopost.fr/shipping-cxf/ShippingServiceWS?wsdl
Development:
https://www.chronopost.fr/shipping-cxf/ShippingServiceWS?wsdl
ProtocolSOAPStyle:Document




GET - sample
 https://www.chronopost.fr/shipping-cxf/ShippingServiceWS/shippingWithReservationAndESDWithRefClientPC?subAccount=000&accountNumber=19869502&password=255562&shipperCivility=E&shipperName=DELBET&shipperName2=RICHARD&shipperAdress1=1%20rue%20des%20accents&shipperZipCode=28500&shipperCity=Ste%20Gemme%20Mor onval&shipperCountry=FR&shipperCountryName=France&shipperContactName=Richard%20Delbet&shipperEmail=richard.delbet@telintrans.fr&shipperPhone=0123456789&shipperMobilePhone=0601020304&recipientCivility=E&recipientName=MALKA&recipientName2=DAVID&recipientAdress1=1%20rue%20des%20essais&recipientZipCode=75001&recipientCity=Paris&recipientCountry=FR&recipientCountryName=France&recipientContactName=David%20Malka&recipientEmail=david.malka@telintrans.fr&recipientPhone=0222426789&recipientMobilePhone=0622220304&shipperRef=CMD1&recipientRef=ART1&productCode=01&shipDate=27/07/2010%2010:00:00&shipHour=10&weight=2&service=0&objectType=MAR&modeRetour=2

https://www.chronopost.fr/shipping-cxf/ShippingServiceWS/shippingWithReservationAndESDWithRefClientPC?accountNumber=19869502&password=255562&shipperCivility=E&shipperName=Alicia&shipperName2=Olivera&shipperAdress1=8401%20NW%2017th%20St&shipperZipCode=33126&shipperCity=Miami&shipperCountry=US&shipperContactName=Alicia%20Olivera&shipperPhone=305-591-8080&recipientName=HUSSEIN%20HASSAN&recipientAdress1=%22OLD%20BATH%20ROAD%2C%20COLNBROOK%22&recipientCity=SLOUGH%20LONDON&recipientZipCode=SL30NS&recipientCountry=GB&recipientPhone=%20&recipientPreAlert=0&shipperRef=259310822&recipientRef=259310822&productCode=44&shipDate=01/10/2014%2018:2:46&shipHour=18&weight=0.22&service=0&objectType=DOC

add the following parameter to the request above to retrieve later the ZPL to print
        &mode=ZPL

After successful response you can get the file in one of two ways with the reservation number
https://www.chronopost.fr/shipping-cxf/ShippingServiceWS/getReservedSkybillWithType?reservationNumber=88742002872817470
Gets a SOAP message with this model soap:Envelope><soap:Body><ns1:getReservedSkybillWithTypeResponse><return><errorCode>0</errorCode><skybill>JV.....dGFydHhyZWYKNDA2NDcKJSVFT0YK</skybill><type>PDF</type></return></ns1:getReservedSkybillWithTypeResponse></soap:Body></soap:Envelope>

or to get the file directly ... 
https://www.chronopost.fr/shipping-cxf/getReservedSkybill?reservationNumber=88896353780857082


Sample method to print ZPL
try{
        DocPrintJob job = psZebra.createPrintJob();

        String s =  "N"+"\n"+
                "q305"+"\n"+
                "Q203,26"+"\n"+
                "B55,26,0,1,2,2,152,B,\""+code+"\""+"\n"+
                "P1,1";

        InputStream is = new ByteArrayInputStream(s.getBytes());
        DocFlavor flavor = DocFlavor.INPUT_STREAM.AUTOSENSE;
        Doc doc = new SimpleDoc(is, flavor, null);

        job.print(doc, null);
        is.close();

} catch (IOException e) {
        e.printStackTrace();
} 


